package com.aluvfy.bank.service;

import com.aluvfy.bank.Exceptions.MonyNoEnough;
import com.aluvfy.bank.Exceptions.TransferException;

/**
 * 账户业务类
 * @author aluvfy
 */
public interface AccountService {

    /**
     * 账户转账业务
     * @param fromActno 转出账户
     * @param toActno  转入账户
     * @param money  转账金额
     */
    void transfer(String fromActno, String toActno, double money) throws MonyNoEnough, TransferException;


}
